/**
 * Created by xpp on 2017/8/10.
 */


//全局处理错误的图片
document.addEventListener("error", function(e) {
    var elem = e.target;
    if ((elem.tagName.toLowerCase() === 'img') && !elem.onerror) {
        elem.src = "";
    }
}, true);

